import { get,post } from '../http';

/**
 * 染缸排产 
 */

export const vatExhaut = () => {
    return {
        //未排缸查询                                
        getFindNoArrage:({page,limit}:any,params:any) => {
            return post({
                url:`/aps/circulatCard/findNoArrangement?page=${page}&limit=${limit}`, 
                data:params
            }) 
        },
         //回修查询                                
        getFindRepair:({page,limit}:any,params:any) => {
            return post({
                url:`/aps/circulatCard/findRepairs?page=${page}&limit=${limit}`,
                data:params
            })
        },
        //出库信息
        getFindOutBound:({page,limit}:any,params:any) => {
            return post({
                url:`/aps/circulatCard/findOutbound?page=${page}&limit=${limit}`,
                data:params
            })
        },
        //排缸信息
        getVantArrage:(params:any) => { 
            return post({
                url:'/aps/circulatCard/getList',
                data:params
            })
        },
        
        //收单扫描
        scanHarverstInsert:(params:any) => {
            return post({
                url:'/aps/WsHarvestScan/insert',
                data:params
            })
        },
        
        //查询工序完成情况
        checkProcessOver:(params:any) => {
            return post({
                url:"/aps/circulatCard/findNoArrangement",
                data:params
            })
        }
        
    }
}